import Vue from 'vue'
import VueRouter from 'vue-router'
import My from '@/views/one/My'
import Home from '@/views/one/Home'
import FenLei from '@/views/one/FenLei'
import DingDan from '@/views/one/DingDan'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    component: Home
  },
  {
    path: '/my',
    component: My
  },
  {
    path: '/fenlei',
    component: FenLei
  },
  {
    path: '/dingdan',
    component: DingDan
  }
]
 const router = new VueRouter({
  routes
 })
 export default router